package com.gitee.wsl.mathematics.geometry.d2.curve.equation


class LinearEquation(var a: Double, var b: Double) : IEquation {
    override fun calculateAtPoint(x: Double): Double {
        return a * x + b
    }


    override fun toString(): String {
        return "$a X  + $b"
    }
}
